import axios from 'axios'
import Store from '@/store/index'

export default () => {
    return axios.create({

        headers: { 'auth-token': Store.state.token }
    })
}